package com.wenlin.myproduction.bean;

import com.google.gson.Gson;
import com.google.gson.annotations.Expose;

import java.util.ArrayList;

public class TaskEn {
    @Expose
    public int taskId;
    @Expose
    public String level;
    @Expose
    public int leftDays;
    @Expose
    public int DiamondCost;
    @Expose
    public ResEn resEn;
    @Expose
    public TaskState state;
    @Expose
    public String TeacherHeadUrl;
    @Expose
    public String TeacherName;
    @Expose
    public int reward;
    @Expose
    public ArrayList<QuestionEn> listQuestion;
    @Expose
    public QuizInfo QuizInfo;

    public enum TaskState{
        LOOK,
        READ,
//        PRACTICE,
//        DUBBING,
        TEST,
        Finish
    }

    public String tojson(){
        return new Gson().toJson(this);
    }
}
